const path = require('path')

module.exports = {
	publicPath: './',
	lintOnSave: false,
	css: {
		loaderOptions: {
			css: {},
			postcss: {
				plugins: [
					require("postcss-px2rem")({
						remUnit: 192
					})
				]
			}
		}
	},
	configureWebpack: {
		
	},

	devServer: {
		compress: true,
		port: '8088',
		proxy: {
			'^/api': {
				target: 'https://authapi.nhgre.com/api/LogisticsPlatform/',
				secure: true, 
				changeOrigin: true,
				pathRewrite: {
					'^/api': ''
				}
			}
		}
	}
}
